# include #include using namespace std; int main() { double a,p=500.0,r=0.02; int n,i; do { cin>>n;} while ((n<5) || (n>15)); for (i=5; i<=n; i++) { a=p*pow((1.0+r),n); cout<< i<<"\n"<